package com.example.schoolblog.blog.Mapper;

import com.example.schoolblog.blog.Dto.QuestionQueryDTO;
import com.example.schoolblog.blog.Model.Question;

import java.util.List;

//自己定义的mapping
public interface QuestionExtMapper {
    int incView(Question record);
    int incCommentCount(Question question);
    List<Question> selectRelated(Question question);
    Integer countBySearch(QuestionQueryDTO questionQueryDTO);
    List<Question> selectBySearch(QuestionQueryDTO questionQueryDTO);
}